package com.project.class9_1.one.bean;

import java.time.LocalDate;

public class LogBean {
    private Integer id;
    private String content;
    private LocalDate logDate = LocalDate.now();

    public LogBean(String content) {
        this.content = content;
    }

    public LogBean() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDate getLogDate() {
        return logDate;
    }

    public void setLogDate(LocalDate logDate) {
        this.logDate = logDate;
    }

    @Override
    public String toString() {
        return "LogBean{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", logDate=" + logDate +
                '}';
    }
}
